package Ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point a=new Point();
        a.setX(20);
        a.setY(30);
        System.out.println(a.getX());
        System.out.println(a.getY());
    }
}
